﻿namespace KeRui.Model
{
    using System;

    [Serializable]
    public class Ad
    {
        private int _adhight;
        private int _adid;
        private string _adname;
        private int _adtype;
        private int _adwidth;
        private int _buynum;
        private int _buyunit;
        private string _createip;
        private DateTime _createtime;
        private string _curadtext;
        private DateTime _curenddate;
        private int _curid;
        private int _cursellerid;
        private string _cursellername;
        private DateTime _curstartdate;
        private string _cururl;
        private string _defaultadtext;
        private bool _isusing;
        private string _personincharge;
        private int _siteid;
        private int _state;
        private string _selfalg="";

        public int AdHight
        {
            get
            {
                return this._adhight;
            }
            set
            {
                this._adhight = value;
            }
        }

        public int AdID
        {
            get
            {
                return this._adid;
            }
            set
            {
                this._adid = value;
            }
        }

        public string AdName
        {
            get
            {
                return this._adname;
            }
            set
            {
                this._adname = value;
            }
        }

        public int AdType
        {
            get
            {
                return this._adtype;
            }
            set
            {
                this._adtype = value;
            }
        }

        public int AdWidth
        {
            get
            {
                return this._adwidth;
            }
            set
            {
                this._adwidth = value;
            }
        }

        public int BuyNum
        {
            get
            {
                return this._buynum;
            }
            set
            {
                this._buynum = value;
            }
        }

        public int BuyUnit
        {
            get
            {
                return this._buyunit;
            }
            set
            {
                this._buyunit = value;
            }
        }

        public string CreateIP
        {
            get
            {
                return this._createip;
            }
            set
            {
                this._createip = value;
            }
        }

        public DateTime CreateTime
        {
            get
            {
                return this._createtime;
            }
            set
            {
                this._createtime = value;
            }
        }

        public string CurAdText
        {
            get
            {
                return this._curadtext;
            }
            set
            {
                this._curadtext = value;
            }
        }

        public DateTime CurEndDate
        {
            get
            {
                return this._curenddate;
            }
            set
            {
                this._curenddate = value;
            }
        }

        public int CurID
        {
            get
            {
                return this._curid;
            }
            set
            {
                this._curid = value;
            }
        }

        public int CurSellerID
        {
            get
            {
                return this._cursellerid;
            }
            set
            {
                this._cursellerid = value;
            }
        }

        public string CurSellerName
        {
            get
            {
                return this._cursellername;
            }
            set
            {
                this._cursellername = value;
            }
        }

        public DateTime CurStartDate
        {
            get
            {
                return this._curstartdate;
            }
            set
            {
                this._curstartdate = value;
            }
        }

        public string CurUrl
        {
            get
            {
                return this._cururl;
            }
            set
            {
                this._cururl = value;
            }
        }
        public string SelFalg {
            get
            {
                return this._selfalg;
            }
            set
            {
                this._selfalg = value;
            }
        }

        public string DefaultAdText
        {
            get
            {
                return this._defaultadtext;
            }
            set
            {
                this._defaultadtext = value;
            }
        }

        public bool IsUsing
        {
            get
            {
                return this._isusing;
            }
            set
            {
                this._isusing = value;
            }
        }

        public string PersonInCharge
        {
            get
            {
                return this._personincharge;
            }
            set
            {
                this._personincharge = value;
            }
        }

        public int SiteID
        {
            get
            {
                return this._siteid;
            }
            set
            {
                this._siteid = value;
            }
        }

        public int State
        {
            get
            {
                return this._state;
            }
            set
            {
                this._state = value;
            }
        }
    }
}

